two string arrays are equivalent